// 按需导入createApp函数
// Vue.config.devtools = true;
import {createApp} from 'vue'
// 导入待渲染的App.vue组件
// import App from './App.vue'
// import App from './components/03/APP.vue'
// import App from './components/04.props/App.vue'
// import App from  './components/05.class&style/App.vue'
import App from './components/App.vue'
// 导入需要被全局注册的组件
import Swiper from './components/01/Swiper.vue'
import Test from './components/01/Test.vue'

// 调用createApp函数创建SPA应用的实例
const app=createApp(App)

//调用create.component()方法全局注册组件 
app.component('my-swiper',Swiper)
app.component('MyTest',Test)
//调用mount()把App组件的模板结构渲染到指定el区域中
app.mount('#app')
